package cn.lml.lession.auth.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import cn.lml.lession.auth.service.impl.RoleServiceImpl;
import cn.lml.lession.common.vo.RoleVo;

@FeignClient(name = "user-service",fallback = RoleServiceImpl.class)
public interface RoleService {

	@GetMapping("/role/queryRoleByUserId")
	List<RoleVo> queryRoleByUserId(@RequestParam("uid") Integer uid);
	
}
